<%-- 
    Document   : contentSanPham
    Created on : Oct 21, 2011, 10:51:04 AM
    Author     : Mr.Thanh
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="java.util.*,model.dao.*,model.pojo.*,model.util.*"%>
<%@taglib prefix="box" uri="/WEB-INF/tlds/boxtag_library.tld" %>
<%

  HashMap<Vector,ArrayList<String>> dsAll=(HashMap<Vector,ArrayList<String>>)request.getAttribute("DanhSach");
      if(dsAll!=null&&dsAll.size()>0){
          
         %>                 
                                           
            
            <div class="boxDisplay">   
                 <form id="frmStruct" name="frmStruct" method="post">
                 
              <table width="100%">                
                  
                  <tr>                  
                  <%
                  
                  Iterator iterator = dsAll.keySet().iterator();
                  //get key
                  Vector vt=(Vector)iterator.next();
                  //get value
                  ArrayList<String> cols=dsAll.get(vt);                  
                  for(String s:cols){
                      %>
                     <td><strong><%=s%></strong></td>
                  <%
                  }
                %>                  
                                 
                </tr>
<%
           iterator = dsAll.keySet().iterator();
           while(iterator.hasNext()){
               vt=(Vector)iterator.next();
                
          %>
                <tr>
                 <%
                  
                  for(int i=0;i<vt.size();i++){%>
                       <td><%=vt.get(i)%></td>   
                  <%}%>
                </tr>
                <%                    
           }
          %>
          </table>        
                 </form>
        </div>
<%
      }    
      
  
  %>